Cortex > Metrics
Administration
Cortex > System Health
Cortex > Session Management
Cortex > Index Management
Cortex > Document Operations
Cortex > Search Operations
Cortex > A/B Testing
Cortex > Analytics
Cortex > Feedback
Nous > Health
Nous > A/B Testing
Nous > Adaptation
Nous > Learning > Models
Nous > Learning > Search Patterns
Nous > Learning > Feedback
Nous > Learning > Metrics and Events
Nous > Signals
Nous > A/B Testing
Submit Results
POST
/
nous
/
ab-testing
/
results
Copy
curl --request POST \
--url https://api.sophra.org/api/nous/ab-testing/results \
--header 'Content-Type: application/json' \
--data '{
"testId": "{{testId}}",
"variantId": "control",
"metrics": {
"click_through_rate": 0.15,
"time_on_page": 45.2,
"conversion_rate": 0.08,
"bounce_rate": 0.25
},
"sessionId": "sess_123456",
"metadata": {
"userAgent": "Mozilla/5.0",
"deviceType": "desktop",
"region": "US-West",
"timestamp": "2024-03-20T10:30:00Z"
}
}'
Copy
"<any>"
Body
application/json · object
Response
200 - application/json
Successful response
The response is of type any
.
Copy
curl --request POST \
--url https://api.sophra.org/api/nous/ab-testing/results \
--header 'Content-Type: application/json' \
--data '{
"testId": "{{testId}}",
"variantId": "control",
"metrics": {
"click_through_rate": 0.15,
"time_on_page": 45.2,
"conversion_rate": 0.08,
"bounce_rate": 0.25
},
"sessionId": "sess_123456",
"metadata": {
"userAgent": "Mozilla/5.0",
"deviceType": "desktop",
"region": "US-West",
"timestamp": "2024-03-20T10:30:00Z"
}
}'
Copy
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.